package com.ty.skysystem.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * (SysMenu)表实体类
 *
 * @author mjg
 * @since 2020-12-22 12:33:21
 */
@EqualsAndHashCode(callSuper = true)
@SuppressWarnings("serial")
@Data
public class SysMenu extends Model<SysMenu> {

  @TableId() private Integer menuId;

  private String menuName;

  private String menuPath;

  private Integer type;

  private Integer orderNum;

  private Integer disabled;

  private String open;

  private String menuIcon;

  private Integer parentId;

  /**
   * 获取主键值
   *
   * @return 主键值
   */
  @Override
  protected Serializable pkVal() {
    return this.menuId;
  }
}
